added more parameters for TRAVERSE function