use encounter model