add z-groups as a variable to start using it more