introduced smart reassignment of zones. need to add some fail safes, will do now