adding environment to snippet @brianr