moved pins 0 and 1 to be further in code