A modk index theorem