Added ability to check pattern on the page(draft)