program working with variable number of card readers (only card readers)