Please review this code and merge

you don't seem to be using asn here