start of card entry form stuff