adding ruby stuff for adding notes, running into issue