add total and abbreviate options
fix abbreviations
fix height assignment
formatting