Added kernel check