more attempts but having trouble with env