revised references and pointers.