refactored poly statement