add stuff for submessage array (non working)