adding some logging statements to see if I know what I'm doing at all