added the minus and not trees to work correctly