started on p1s, and example
and added clang flags