got error checking working nicely
really good error checking going on