Very **wierdly** working version. Changed from client server to
standalone for L*a*b* testing.