expose location to views