add pv and main