some basic card passing functionality