Added toLocation. Mostly working.