Changing to Object.create