add validation style