added date intervals, some view improvements