in the process of implementing the wiring code for buttons