one way to create an object