working metropolis with new framework