build types tree and log it