Added recent comparison function