change opt method