converting args to array not setting type