begin adding rudimentary error messages