add bar charts, implement metrics