Added check for missing 'new'