jsut to be sure, is this correct? due to logic in this method I expect that it should go to `ret[:extended` also removed code assign it there.