implemented standalone server