removed method 'trim_arr()'