Created methods for certain stuff. Having the issue that when we create a new gate, it changes all the exisiting gate outputs.