allow array as argument