Added top and bottom nodes