validation of associations