Added changes for detail views