added better errors gem