setup usage list

added error checking for bad data