Solving problem with pin (still urgent yet)