generalized the z-level atmospipes