added pin management to carry out performance test