no traversal algo yet, still need to work on pattern matching