cleaning up xmitToCamer calls using dictionaries