after validating format