changed 'array' to 'argv'