curve tool in progress