Use  instead of accessing globals directly in PlayCtrl