Implemented dispatching and linear dispatcher