started and almost completed commenting out most of scanwodnode code