added entity observer definition