Renamed method name for creating nodes