add dispatch protocol for sensing thread