changed caretaker to use strings instead of nodes