resolving now looks in the given environment too