Taking out ap