+++++++-- 90%: add try and except for handling errors