cleaned up un-needed code with $multi-images array