Basic Client code working