adding back the code without page object