changed [] with array() for back compatibility