keep setoptions private