checking if node exist