convertible note how does it work