Added selectAll and sequence fix