changed the way to select the interface