Added second chart & utility functions