added gift to location and added debug messages