rewrote forward processing mode to use linked list with top and bottom values