working on PAS implementation