Here is a details explanation of adding and removing pins, extracting data as well,
Source of the post