Added an error for purpose