out of curiosity, why was addr being shifted down by 1? was this a bug?