added basic date calculation