string_from method added