replace array() with []