Code for MT4j