edited compute sim