private function checkInputs($short, $long)
    {
        $key = array_search($short, $this->inputs);
        if ($key === false) {
            $key = array_search($long, $this->inputs);
            if ($key === false) {
                return false;
            } else {
                return $key;
            }
        } else {
            return $key;
        }
    }