minimal client working