added some comments to explain what types the paramaters are on searchLevel