reworked messages library