Adding more algorithm