added notification definition and fixed formatting