removed environment type helper functions