a first implementation of doors to switch between sectors