added description for aoi_func
added description of curve_func