Starting down another confusing algorithm