taking out env