parsing encounters