env and extends