add add note feature with bugs