add managed card function