sorted out petra v3 vs v4 scheme
formatting crap