added todo list and fixed bug in thaw where return value was not being checked