added controllers for validate