add bang-example and modify urban function to use api