added usage options with error checking