refactored visit completion field