Made cities a local variable instead of global