initial downsample checkin. has bugs