refactor part one
added node templates