add z to ggplot statement (along with environment)