Add notification support

remove SPC after `function`