allowing object to passed into .setOptions()