using notify as a regular function