deleted old add method