added location and destination variables and comments