update add method

added comments for methods :dancers: