oops, pins array wasn't an array