added CardBox functionality