adding support to define znodes