Refactored verify method
Replaced the verify to the execute method, which does the same, but using a different interface.