source environment function has been added