change the way to pass value