first working version version of pp