validation dispatch table working