added formatter and message classes