Changed add method