implemt prmpr loading