Removed some map call that is unnecessary.