Why do we need to use synchronization here? Is there a possibility of two threads accessing the image list at a time?