some simple date stuff, should be an easier way