debugging parameters of loading function