now taking the return from recursive traverse call
now taking the return from recursive traverse call