major fix,  validation, closure,  messages,  sems to work