added class to support result sets