slice arguments and common helpers