Creating a unit observer