modified map to work on desktop