try using a node visitor to look for asset nodes