added filter for nodes