Mtt demo code