getting inner text of queried note
determining if note exists & get-date