Making observer an action (callback)