todo example, handle complete and clear