refactored trelis nodes