extra check to capture the error explicitly