add hscan and zscan