Moved create_encounter() call