Use static variable to store card position.