notification function working, but notes are random