starting to work on some error checking