might be better to use XWQL in the future