date4fun client code