fix unused code, link to doc from readme