neatened up the zoom code