remove magic number (variable cards)