@yuhunglin if `phasesArray` is an actual array, we should use a regular `for` loop.
Also add a space between the `for` and the `(`.