some prelim code for app notifications