making leaf_object params private