added pig definition and renderer