right iterating array each
refactored compose