Add selectAll function