pab method
further work on pab method