add zSweep function to footer