initialize the fern