xml & socket lections updated