implemented trucate extension