add dispatcher and company controller code