allow map function to acces to corresponding entry