add header and poly.c