working on witness checker