loading redesigned and commented