Create Forest code