initial commit
error trapping in the imports