Just had to rotate the generated tree