added to_s to api