select when object is created