added validation with css