turn method P5ref, P5ord and P5do to multi subs