change isUnit() boolean