#8 implemented server dispatcher