initially organizing PAM simulation