5.1 Selecting the correct extension