renamed viewCity to viewLocation