tried _.each() method instead of for-in loop -> didn't work as expected :(