working UI validator