finish adding information into polynomial expressions