Make array immutable.
Remove static from function.