adding the skeleton of a map to find out which element the user touched