augmented command to add error message