improve with images preload procedure