added timerange model stuff