Change way of passing params