environment checks