second amended and restated CREDIT AGREEMENT