added BasketReader class