removed unecessary environment object