moved the prepare in one of the constructors as it would overwrite a name already set