king validation a bit prettier