changed PA control to integer