removed unused struct T