How would you make a folder with a specified name or rename it?

how would you make a folder with a specified name? or rename a folder?

tell application "Finder"
	make new folder at folder "path:to:folder:" with properties {name:"n00b's New Folder"}
end tell

tell application "Finder"
	set name of folder "path:to:folder:" to "n00b's Renamed Folder"
end tell

– Rob

thx very much