added SDReader class