Fix 'apply
Add map and for-each