add subsequent courses constraint