took range and time into account