pin is now array of 2 elements - src and alt