prefer map over collect
removed trailing whitespace