corrected issue with options() method