Removed array_map causing trouble with