Working assignment with tree