added notifications and got them working