detail cost pdf and prettier look graphs