define internal resolver