added error checking for website