added first version of sectorsemaphore