implemented singleton model for validator, fixed bug in encounters