removed orphaned options and cleaned up example