reworked writer actors to use type instead of tags