Creating a selectino mode.