add p3 for grails