- added configurable bar width and sample count
- clean up