Firm plays its cards right with credit deal