cleaned code and bugs and made a super shiny bar graph