added note function