WIP - debugging message creation bug