the programe gets the starting position from the map