algorithm not working yet, but plugged in