improvements on Environment; first two function of )a) b) c) d)