new file for environment code