move cc details to a variable