gets and displays correct notifications