a bit of validation v1