generate and validate are working