list function supports timespans