card manipulation done