server is now roughly working