added 'flags' for if you are allowed to read your own output and if you are allowed to read the same message multiple times or not.