updated controller for detailed pic