added features in validation methods