made add an instance method