accept resolver function