Algorithm #2 by joepease.eth | cc0.company