This is one of the limited scope areas where I use a single variable, that is 'a' for array is preferable over tran_arr. Also, whitespace issue in block params.