Adding keys to map function