use khaleesi as generator