Putting object definition at the end