settle on way to create object
remove unused code