refactored tables, added vertical varient