added in reference and binding stuff

It may or may not work.