Make target node a class member and provide method to read it back
Add comments.