todos and remaining counter added