added spinner with images
***need to reformat code***