adocumented implementation from previous commit