Half-assed code pasted into notebook