use .map instead of a for loop in ialNick listener