before curve finding