figured out the problem with unrolling