Short side of AI changes

The changes I first made before knowing what I needed to change.