PI prototype v0.1