added dynamic object to handle xml