get change location map and delegate to work
remove switch