LE code in model1 notebook seems to be working, but SLOOOOOOOOWWW