fixing mistake in how I hooked up the replica cell