added proof of work verify method