add param display & sample point in frame