assign validation

finished