Changed the input parameters of pc_simulate