- only add optional arguments if specified