adds environment