moved cities pop code into app.'s