remove dependance on tabwriter