added local array and compiles, but does not run