added legacy client