use collection to retrive property in to_hash