its preferred habitat consists of temperate forests and tropical and subtropical montane rainforests