Spinner was added to show that loading is in progress