Sal Scotto:
	- added local to a few variables so they dont add to the global namespace
