changes for new ion kernel