Moved body of verifyOrGet methods to function, methods now simply call the function