simplify environment lookup