changed add shift and add reduce to add reduces and shifts despite a shift reduce conflict.