preparing the secs