moving validation to parser 2