Trying to get curve to work.