renaming add() method to chart()