Pass fail result to callback as second parameter