Algorithm - seems fine, so far, return date field added