Now parameters are taken dynamically