half way through the REDD documentation example