added environment prop