added notifications functionality