Added cost graph