modified parameter pinNumber of export() and unexport() functions .
pinNumber parameter changed from int to String