move validation, add css