some stuff changed
Ap calculation problem