debugging links added and cleaned up; typos fixed