add location to ctor