Simple version with locations finished. Comments added.