add ridge test
unified addCell functions