removed unique_ptr tex - unused