Fixed the algorithm, changed menu and description