working with environment and require