Card cycling

heres working code