fixed most of the problems. Test succeeds for c[0], c[1] still fails