Final code for the tron costime