added final touches to extension for notifications