NCB records profit in third quarter