class date with 2 extra methods (prev)