v0.0.3b Commit, Changed main algorithm