break on error. Closes #13