changed revalidate to validate