handeling pin
comments added