add kernel loading