loadP-methods function

loadP and saveP