add leaf option