added str_trim dependency