simple implementation for Date and Task