validation assignment