revoking last change

re-adding validate(String string) method