reworked function args order to integrate 'auto' default