added formating to cards