table fixes
more edge cases covered
+ command line validator