Working version with support for KDVH data as well.