another stab at infinite ranges. think I've got it now.