added better errors reference