add option arguments leaves
add optional args: leaves