add location in views