Changed kernel declaration and call syntax