main part of encounter definition