working on switching to MVC type model for greater flexibility in processing LRPs