changing pin naming as well as button arrangement