works for one node