some stuff about notify