add execute curve stripping function