version with error