location controler and model