Code used for TitanMix project