fixed mock calls
added note parsing feature