turn method P5scalar to a multi sub