Enhance/profiles

Prefer `map` over `collect`.<br>Space between { and | missing.<br>Space missing inside }.