able to process pure addresses, currently working, cleaning up code