Removed getPins, because it's not finished yet.