Added code to remove pins

It is not working as intended