made it like an object