adapter to string