The implementation of the SORN model