add curve line

currently hand-coded, need to make it as a function