add mul and shift to simulation