Setting up learn so it actually ends