added status message handling factory