add pin, incomplete