receive array argument