added error handling and more images