fixed my bug, now it works just as it did before, but with a better architecture. Going to extend to have multi-input commands