partial was not declared as local