added dynamic cost chart