adding new adoption code