removed kernel checking. It is not necessary