add  checking environment