refactoring sjs.sid() method