some trivial validation