weird
weird
Big rewrite for server-side.