minmax date beta
a bit stuck...