kv.run splitted to 2 functions run + runAs