sell a part, take out what you invested and keep another part