add getClient method