get collection using reflection