improved city insertion