update to readme & some error checking