replaced resolver with anonymous resolver