adding notification funct