set up a helper method for setting custom options