Samsung washer drains and jerks but doesnt spin

I have a problem. My samsung washer washes and drains just fine, but when its time to spin it just jerks back and forth and doesnt spin, and the timer adds time to the spin then after awhile throws a 3e code. The lever clutch was broken and i replaced that, and the motor spins. I just dont know what to do now.