updated README and added catch at end