Adding algorithms chnages