added first implementation of the dispatcher