minimal client working and tested