adds numerical validation