added exception handling
Added to_do list