p1 quick and dirty prototype