add errors methods