helpers for random cards