changed [] with array()

closes #95
array initialization with "[]" requires 5.4. Since lib supports 5.2 it should be "array()"