added references and improved style