ref #15 minor changes on array initialization