added flags=SA_SARESART