re-wrote tabs