got some date calculations figured out