combining exports and validate