mp: codehandler