some edits; partially fixed references