preparing for psb simulation