add readonly to get_client