replaced flex client