got simple iOS validation working