detab: not quite what the text says though..
detab version 2: more in line with that in the text