[NOT COMPILABLE] started refactoring longtime validation