error handling complete, program basically complete