use Environment object