this all works. except for node getting gummed up and freezing for no apparent reason after so many requests