rudimentary error handling message