New PA and optimizations