for todo view