In progress attempt at sloth ai fix