Cleaned Online references and code