pass parameter from outside