adding MessageHandler