Role of scattering in nanotransistors