removed unused code path