working autogenerated client lib