What ended the paleozoic era