I edited the code because my GPIO pin numbers were off