Added selectall method