added error handling to sprint validation