setup kernel