create error class, plural check lastly