changed notice{} to notify{} because notice is only callable as notice()