Validation Example and Bug Fix