changed add() to adopt()