implement array creation shortcut with []