first stab at client