adding resolve option to views