improve compression and messaging