pa2

working version