added note saving
merged