added error handeling for API Limit exceeded