added validation erros for each value type