Parse and validation working together