removed call to validate function