taking into account a variable factor such as distance or time