pass params to kernel