added the resume feature and some other validations for css selectors