Implemented add method