adding resolve