Implemented SID check