initial working library and node test