added last item in tree to rb file