getting messaging working