working, although I fear node is too slow