added overloaded functions for read XML