Add init traces routine and set trace count to 3