made tridump more proper