only send parameters that have been set (closes #23)