implementation of example plugin, added xml helper