now dynamically passing param