validated for tests