add location decorator