changed some stuff for Pins