add is used in the deck method to hai class