adding l curve