removed AP param to save 10k prog space