working on card management