added note function to badge