finished simple server