import and adopt apg