list function should also use tabs (and increment first)