Debugged. Getting place lists works. Need some error checking.