data selection queries can be customized