finish environment