better errors
updated version