P1 working with waf