Untested completed init function