started cleaning up the detail page