added ap
set ap params