added error handling due to service terms of using