deleted files created in error
moved duplicated code in views for displaying total to a partial