created first version of XStreamHelper