adding testing pins functions