creating notes dynamically