better way of passing in args