added table formatter