adding selectAll and groupBy methods to options