refactored create and modify instance for code re-use
Authored by: bwhiteley 2006-09-07
Parent: [r260]
Child: [r262]