added todo function at the top of the page