create new resolve method