import trunk code