inintial validation works