replate todo examples with simple index