removed xreadlines