moved kernel calls from common