adding the part that does the actual lookup and decides which card to return... oh god i hope it works