Algorithm isn't idea