correct options function