made SAO input/output variable