working on smarter snippet nav