removed polyk functions that are not needed