Coursework working in a flaky way