added plotSO() and volatile() functions