work in progress for case 2