initialize must now set initialized flag