implemented chopping trees