Editorial: refactor two algorithms to not use labels

Add a description of Editorial: refactor two algorithms to not use labels