Implemeneted the select all extension