Drawing for-loop replaced by map().