added references and formatting