adding debug statement, not working yet.
debugging
reverted several changes