Why do we pass the environmnet_id twice here?