updated pins interface