added todo method