adding poly code