xml configuration working as well