collect method green but not refactored
#collect refactored