made `between` callable as wrapper or in function