Included aquery and added it directly to xml