add the cruve to component