comments curve + simplification h and cpp