tutorial to get the error message completed