corrected a typo : deletCardX() -> deleteCardX()